package com.zenith.edu.po.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_checkin")
@Schema(name = "EduCheckin", description = "签到实体")
public class EduCheckin extends BaseEntity {
    
    @Schema(description = "直播课堂ID")
    private Long liveSessionId;
    
    @Schema(description = "签到码")
    private String code;
    
    @Schema(description = "过期时间")
    private LocalDateTime expireTime;
    
    @Schema(description = "状态：1-有效 2-失效")
    private Integer status;
}